#include <stdlib.h>
#include <stdio.h>

#include "xassert.h"

void __xassert(char *expr, const char *file, int line, const char *func) {
    fprintf(stderr, "ASSERT(%s) failed in %s at line %d in function %s", expr, file, line, func);
    exit(1);
}

